package com.zjm.behavioral.responsibility_chain;

/**
 * 审批人
 */
public abstract class Approver {

    // 下一个审批人
    Approver approver;
    String name;

    public Approver(String name) {
        this.name = name;
    }

    public void setApprover(Approver approver) {
        this.approver = approver;
    }

    public abstract void processRequest(PurchaseRequest purchaseRequest);
}


